
const routes = [
  {
    path: '/',
    name: 'hello',
    component: () => import('@/views/index.vue'),
    children: [{
      name: 'home',
      path: '',
      component: () => import('@/components/HelloWorld.vue'),

    }, {
      name: 'toolsWith',
      path: '/toolsWith',
      component: () => import('@/views/toolsWith/index.vue')
    }, {
      name: 'getJoke',
      path: '/getJoke',
      component: () => import('@/views/toolsWith/getJoke.vue')
    }
    ]
  }, {
    path: '/home',
    name: 'home',
    component: () => import('@/components/HelloWorld.vue')
  }
]

export default routes